package com.dhcc.sdc.base.entity;

import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableName;
import com.dhcc.core.framework.base.entity.BaseEntity;



/**
 * 禁忌症条目
 * 
 * @ClassName: ContraindicationItemEntity
 * @Description: TODO
 * @author zhangjin
 * @date 2022-09-02 15:42:37
 */
@TableName("t_sdc_base_contraindication_item")
public class ContraindicationItemEntity extends BaseEntity<ContraindicationItemEntity> {
	private static final long serialVersionUID = 1L;
	
	//禁忌症ID
	private Long contraindicationId;	
	//禁忌症条目
	private String itemName;	
	//是否有效
	private Integer active;	
	//条目互斥组
	private String itemGroup;

	private String expression;

	public String getExpression() {
		return expression;
	}

	public void setExpression(String expression) {
		this.expression = expression;
	}

	//有无规则
	@TableField(exist = false)
	private Boolean hasRule;






	public Boolean getHasRule() {
		return hasRule;
	}

	public void setHasRule(Boolean hasRule) {
		this.hasRule = hasRule;
	}





	/**
	 * 设置：禁忌症ID
	 */
	public void setContraindicationId(Long contraindicationId) {
		this.contraindicationId = contraindicationId;
	}
	/**
	 * 获取：禁忌症ID
	 */
	public Long getContraindicationId() {
		return contraindicationId;
	}
	/**
	 * 设置：禁忌症条目
	 */
	public void setItemName(String itemName) {
		this.itemName = itemName;
	}
	/**
	 * 获取：禁忌症条目
	 */
	public String getItemName() {
		return itemName;
	}
	/**
	 * 设置：是否有效
	 */
	public void setActive(Integer active) {
		this.active = active;
	}
	/**
	 * 获取：是否有效
	 */
	public Integer getActive() {
		return active;
	}
	/**
	 * 设置：条目互斥组
	 */
	public void setItemGroup(String itemGroup) {
		this.itemGroup = itemGroup;
	}
	/**
	 * 获取：条目互斥组
	 */
	public String getItemGroup() {
		return itemGroup;
	}
}
